<%@ page contentType="textml;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>

    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <title>登录 - APP任务发布平台</title>
        <link rel="shortcut icon" href="/static/img/favicon.ico" type="image/x-icon" />
        <link rel="stylesheet" href="/layui/css/layui.css">
        <link rel="stylesheet" href="/static/css/login.css">
    </head>

    <body>
        <div class="layui-carousel video_mask" id="login_carousel">
            <div carousel-item>
                <div class="carousel_div1"></div>
                <div class="carousel_div2"></div>
                <div class="carousel_div3"></div>
            </div>
            <div class="login layui-anim layui-anim-up">
                <div class="layui-logo">
                    <a href="#" target="_blank"><img src="/static/img/logo.png" /></a>
                </div>
                <fieldset class="layui-elem-field layui-field-title">
                    <legend class="text-white">学生管理平台登录</legend>
                </fieldset>
                <form class="layui-form" action="/login" method="post">
                    <div class="layui-form-item">
                        <input type="text" id="account" name="email" lay-verify="required" maxlength="20" placeholder="请输入邮件" autocomplete="off" autofocus="autofocus" class="layui-input">
                    </div>
                    <div class="layui-form-item">
                        <input type="password" name="password" id="password" lay-verify="required" maxlength="20" placeholder="请输入密码" autocomplete="off" class="layui-input">
                    </div>
                    <div class="layui-form-item form_code">
                        <input type="text" name="code" id="code" lay-verify="required" maxlength="6" placeholder="请输入验证码" autocomplete="off" class="layui-input">
                        <div class="code"><img id="login_img" src="/images/captcha" onclick="changeImg()" width="118" height="38"></div>
                    </div>

                    <div class="layui-form-item  ">
                        <input type="checkbox" name="remberme" value="1"  title="七天免登录" >
                    </div>

                    <button type="submit" class="login_btn layui-btn layui-btn-radius layui-btn-normal" >登录<tton>
                    <strong class="text-white">还没有账号？ <a href="register.html" style="color: cornflowerblue;">立即注册&raquo;</a><>
                </form>
                <hr class="layui-bg-gray">
                <div class="layui-footer text-white">
                    <!-- 底部固定区域 -->
                    &copy;2014-2017 深圳市有限公司版权所有
                </div>
            </div>
        </div>

        <script type="text/javascript" src="static/js/jquery.min.js"></script>
        <script type="text/javascript" src="layui/layui.all.js"></script>
        <script type="text/javascript" src="static/js/login.js"></script>
        <script>
            function changeImg() {
            var img = document.getElementById("login_img");
            img.src="/images/captcha?"+new Date().getTime();
            }
        </script>
    </body>

    <ml>
